const initialState = ["深圳", "广州"];

export default function citysReducer(state = initialState, action: any) {
  switch (action.type) {
    case "ADD":
      return [...state, action.payload];

    default:
      return state;
  }
}
